package com.project.bean;

/**
 * 城市实体类
 */
public class CityBean {
    /**城市ID*/
    private int id;
    /**城市名称*/
    private String name;
    /**所属国家*/
    private ContryBean contry;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ContryBean getContry() {
        return contry;
    }

    public void setContry(ContryBean contry) {
        this.contry = contry;
    }

    @Override
    public String toString() {
        return "CityBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", contry=" + contry +
                '}';
    }
}
